package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI4;

public class Models {
	public String chonBangtan(ChuanISO obj) {
		String bt = null;
		if (obj.getBangTan() == 1) {
			bt = "CDMA";
		}
		if (obj.getBangTan() == 2) {
			bt = "WCDMA";
		}
		if (obj.getBangTan() == 3) {
			bt = "GSM";
		}
		return bt;
	}

	public String chonTanso(ChuanISO obj) {
		String ts = null;
		if (obj.getTanSo() == 1) {
			ts = "900 Mhz – 902 Mhz";
		}
		if (obj.getTanSo() == 2) {
			ts = "903 Mhz – 905 Mhz";
		}
		if (obj.getTanSo() == 3) {
			ts = "906 Mhz – 908 Mhz";
		}
		return ts;
	}
}
